package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysDutyPermission;
import cn.wgx.modules.sys.entity.SysDutyPermissionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDutyPermissionMapper {
    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    long countByExample(SysDutyPermissionExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int deleteByExample(SysDutyPermissionExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int deleteByPrimaryKey(Integer duty_per_id);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int insert(SysDutyPermission record);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int insertSelective(SysDutyPermission record);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    List<SysDutyPermission> selectByExample(SysDutyPermissionExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    SysDutyPermission selectByPrimaryKey(Integer duty_per_id);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysDutyPermission record, @Param("example") SysDutyPermissionExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int updateByExample(@Param("record") SysDutyPermission record, @Param("example") SysDutyPermissionExample example);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int updateByPrimaryKeySelective(SysDutyPermission record);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int updateByPrimaryKey(SysDutyPermission record);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int batchInsert(@Param("list") List<SysDutyPermission> list);

    /**
     *
     * @mbg.generated Wed Feb 19 21:47:37 CST 2020
     */
    int batchInsertSelective(@Param("list") List<SysDutyPermission> list, @Param("selective") SysDutyPermission.Column... selective);
}